<script type="text/javascript">
     $(document).ready(function() {
          $('.jqzoom').jqzoom({
               zoomType: 'reverse',
               lens:true,
               preloadImages: false,
               alwaysOn:false
          });

     });
</script>

<div id="content">

     <div class="product clearfix product_inner">

          <div id="photos" class="pro_img">
               <?php
               $image_array = $General->get_post_image($post->ID);
               ?>


               <div id="product_image_thumb">
                    <?php
                    if (count($image_array) > 1)
                    {
                         for ($i = 0; $i < count($image_array); $i++)
                         {
                              ?>

				      <a href='<?php echo $image_array[$i]; ?>' class='cloud-zoom-gallery'
                                 rel="useZoom: 'zoom1', smallImage: '<?php echo bloginfo('template_url'); ?>/thumb.php?src=<?php echo $image_array[$i]; ?>&amp;w=250&amp;zc=1&amp;q=80<?php echo $thumb_url; ?>' ">
                                   <img src="<?php echo bloginfo('template_url'); ?>/thumb.php?src=<?php echo $image_array[$i]; ?>&amp;w=100&amp;zc=1&amp;q=80<?php echo $thumb_url; ?>" alt = "Thumbnail <?php echo $i; ?>"/></a>
                         <?php }
                    } ?>
               </div>



               <div id="main_photo">
                    <a href='<?php echo $image_array[0]; ?>' class = 'cloud-zoom' id='zoom1'
                       rel="adjustX: 10, adjustY:-4, softFocus:true">
                         <img src="<?php echo bloginfo('template_url'); ?>/thumb.php?src=<?php echo $image_array[0]; ?>&amp;w=250&amp;zc=1&amp;q=80<?php echo $thumb_url; ?>" alt='' align="left" title="<?php the_title(); ?>" />
                    </a>
               </div>


          </div><!-- end #photos . pro_img -->

          <div class="product_info ">
               <h1 class="head"><?php the_title(); ?></h1>
               <?php the_content(); ?>
          </div>  <!-- productinfo #end -->
     </div> <!-- product #end -->
</div>
